package com.example.dao.siyunCouponsDao;

import com.example.pojo.siyunCouponsPojo.Coupons;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: 杨佳欣
 * @Description: TODO
 * @DateTime: 2022/11/5 9:10
 * 优惠券列表Dao层
 **/

@Mapper
@Repository
public interface CouponsDao {
    //优惠券信息列表全查
    public List<Coupons> getCouponslistAll();
    //优惠券信息列表模糊查
    public List<Coupons> getCouponslistFuzzyCheck(Coupons coupons);
    //添加优惠券信息列表数据
    public Boolean addCouponslist(Coupons coupons);
    //根据ID删除优惠券信息列表
    public Boolean deleteCouponslist(Integer couponId);
}
